/**
 * Created with JetBrains WebStorm. User: rekey Date: 7/9/13 Time: 23:37 To
 * change this template use File | Settings | File Templates.
 */
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
module.exports = new Schema({
    '_id' : {
        'type' : Number
    },
    'name' : {
        'type' : String
    },
    'nickname' : {
        'type' : String
    },
    'password' : {
        'type' : String
    },
    'salt' : {
        'type' : String
    },
    'mail' : {
        'type' : String
    },
    'url' : {
        'type' : String
    },
    'created' : {
        'type' : Date,
        'default' : Date.now
    },
    'activated' : {
        'type' : Date,
        'default' : Date.now
    },
    'description' : {
        'type' : String
    }
});